import type { RouteRecordRaw } from 'vue-router'
const modules:Record<string,any> = import.meta.glob('./modules/*.ts',{
    eager:true
})
console.log(modules)
const routes:Array<RouteRecordRaw> = []
Object.keys(modules).forEach(key=>{
    routes.push(modules[key].default)
})

export default routes